import request from '@/utils/request'

// 查询仓库区域下拉列表
export async function areaSelectList() {
  return request.get('/select/areaSelectList')
}

// 查询仓库下拉列表
export async function imsSelectList() {
  return request.get('/select/imsSelectList')
}

// 查询生产者下拉列表
export async function producerSelectList() {
  return request.get('/select/producerSelectList')
}

// 查询仓库sku下拉列表
export async function skuSelectList() {
  return request.get('/select/skuSelectList')
}

// 查询人员下拉列表
export async function userSelectList() {
  return request.get('/select/userSelectList')
}

// 码头编号查询
export async function wharfSelectList() {
  return request.get('/select/wharfSelectList')
}

// 消费者查询
export async function consumerSelectList() {
  return request.get('/select/consumerSelectList')
}

export async function lineStationSelectList() {
  return request.get('/select/lineStationSelectList')
}

export async function shelfSelectList() {
  return request.get('/select/shelfSelectList')
}

export async function getImsWharfOptions(wharfCode) {
  return request.get(`/initImsWharf/${wharfCode}`)
}
